package cn.bytecollege.common.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
@Data
public class Orders {
    private Integer ordersId;
    private Integer userId;
    private LocalDateTime createTime;
    private Integer addressId;
    private BigDecimal productSumPrices;
    private Integer paymentState;
    private Long orderNumber;
    private String paymentName;
    public String getCreateTime() {
         return createTime.toString().replace("T"," ");
    }


}
